package com.ruoyi.basicData.ruleSetting.mapper;

import java.util.List;
import com.ruoyi.basicData.ruleSetting.domain.VehicleIdRules;

/**
 * 车辆ID规则Mapper接口
 * 
 * @author YiYuan
 * @date 2024-01-23
 */
public interface VehicleIdRulesMapper 
{
    /**
     * 查询车辆ID规则
     * 
     * @param id 车辆ID规则主键
     * @return 车辆ID规则
     */
    public VehicleIdRules selectVehicleIdRulesById(Long id);

    /**
     * 查询车辆ID规则列表
     * 
     * @param vehicleIdRules 车辆ID规则
     * @return 车辆ID规则集合
     */
    public List<VehicleIdRules> selectVehicleIdRulesList(VehicleIdRules vehicleIdRules);

    /**
     * 新增车辆ID规则
     * 
     * @param vehicleIdRules 车辆ID规则
     * @return 结果
     */
    public int insertVehicleIdRules(VehicleIdRules vehicleIdRules);

    /**
     * 修改车辆ID规则
     * 
     * @param vehicleIdRules 车辆ID规则
     * @return 结果
     */
    public int updateVehicleIdRules(VehicleIdRules vehicleIdRules);

    /**
     * 删除车辆ID规则
     * 
     * @param id 车辆ID规则主键
     * @return 结果
     */
    public int deleteVehicleIdRulesById(Long id);

    /**
     * 批量删除车辆ID规则
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteVehicleIdRulesByIds(Long[] ids);
}
